const Limit = 20
const PageSize = [20, 50, 100]


const Status = {
  YES: '冻结',
  NO: '解冻'
}

const AuditStatus = {
  PASS: '已通过',
  AUDITING: '待审核',
  REJECTED: '已驳回'
}

const GoodsType = {
  INSTRUMENT: '器械',
  HCONSUMABLES: '高值耗材',
  LCONSUMABLES: '低值耗材',
  REAGENT: '试剂',
  CONVENTION: '常规'
}

const orderStatus = {
  UNPAID: '待支付',
  UNDELIVER: '待发货',
  DELIVERED: '已发货',
  CANCELED: '已取消',
  COMPLETED: '已完成',
  PAYAUDIT: '待审核',
  PAYAUDIT: '支付待审核',
  PAYREJECT: '支付审核驳回'
}

const BackStatus = {
  AGREE_BACK: '同意退货',
  BACK_APPLY: '退货申请',
  REFUSE_BACK: '拒绝退货  ',
  DELIVERING: '待发货',
  DELIVERED: '已发货',
  RECEIVED: '已收货',
  REFUND: '退款',
  CONFIRM_RECEIPT: '已收款'
}


const GoodsStatus = {
  PUTON: '上架',
  PUTOFF: '下架'
}


const RequiredQualicationType = [{
    qualificationType: 'BUSINESS_LICENSE',
    title: '营业执照',
  },
  {
    qualificationType: 'INTERNET_CERTIFICATE',
    title: '医疗器械互联网销售备案证',
  }
]


const qualificationType = [{
    qualificationType: 'BUSINESS_LICENSE',
    title: '营业执照',
  },
  {
    qualificationType: 'MEDICAL_DEVICE_BUSINESS_RECORD_CERTIFICATE',
    title: '医疗器械经营备案凭证',
  },
  {
    qualificationType: 'MEDICAL_EQUIPMENT_BUSINESS_LICENSE',
    title: '医疗器械经营许可证',
  },
  {
    qualificationType: 'MEDICAL_DEVICE_PRODUCTION_LICENSE',
    title: '医疗器械生产许可证',
  }
]


const goodsQualificationType = [{
    qualificationType: 'FIRST_PRODUCT_RECORD_CERTIFICATE',
    title: '第一类医疗器械产品备案凭证'
  },
  {
    qualificationType: 'FIRST_PRODUCTION_RECORD_CERTIFICATE',
    title: '第一类医疗器械生产备案凭证'
  },
  {
    qualificationType: 'REGISTRATION_CERTIFICATE',
    title: '医疗器械注册证'
  },
  {
    qualificationType: 'PRODUCTION_LICENSE',
    title: '医疗器械生产许可证'
  }
]

const CustomerQualificationType = [{
    qualificationType: 'BUSINESS_LICENSE',
    title: '营业执照',
  },
  {
    qualificationType: 'MEDICAL_INSTITUTION_PRACTICING_LICENSE',
    title: '医疗机构执业许可证',
  },
  {
    qualificationType: 'MEDICAL_DEVICE_BUSINESS_RECORD_CERTIFICATE',
    title: '医疗器械经营备案凭证',
  },
  {
    qualificationType: 'MEDICAL_EQUIPMENT_BUSINESS_LICENSE',
    title: '医疗器械经营许可证',
  }
]


const afterSaleType = {
  AGREE_BACK: '同意退货',
  BACK_APPLY: '退货申请',
  REFUSE_BACK: '拒绝退货  ',
  DELIVERING: '待发货',
  DELIVERED: '已发货',
  RECEIVED: '已收货',
  REFUND: '退款',
  CONFIRM_RECEIPT: '已收款'
}

const MessageType = {
  AUDIT_PASS: '审核通过',
  QUALIFICATION_SOON_EXPIRE: '到期提醒'
}

const recordStatus = {
  COMMIT: '审核中',
  REJECT: '拒绝',
  PASS: '已通过'
}


const settleType = {
  MONTHLY: '月付',
  CASH: '现结'
}

const afterSaleFlag = {
  APPLY: '待处理',
  AFTERSALEING: '售后中',
  CANCELED: '已取消',
  COMPLETED: '已完成'
}

export default {
  Limit,
  PageSize,
  Status,
  GoodsType,
  orderStatus,
  GoodsStatus,
  AuditStatus,
  BackStatus,
  afterSaleType,
  MessageType,
  recordStatus,
  qualificationType,
  RequiredQualicationType,
  goodsQualificationType,
  CustomerQualificationType,
  settleType,
  afterSaleFlag
}
